package com.zhang.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author zh
 * @create 2022-02-21 13:42
 */
@Data
public class Shop {
    private Long id;
    private String name;
    private String tel;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern ="yyyy-MM-dd" )
    private Date registerTime;
    private Integer state;
    private String address;
    private String logo;
    private Manager admin;

}
